<!DOCTYPE html>
<html lang="en">
<head head_div=SrG0mD >
    <meta charset="UTF-8">
    <title>验单管理</title>
    <?php echo Common::css("v1/base.css,v1/admin.css,v1/home.css")?>
</head>
<body>
<div>
    <div id="tab_product_block" class="block-tab-container">
        <div class="block-tab-bar cl">

            <a href="/plugins/supplier_check/pc/checkorder/my_check" class="item" target="frm1">
            <span class="item">我要验单</span>
            </a>
            <a href="/plugins/supplier_check/pc/checkorder/check_record" class="item" target="frm2">
            <span class="item">验单记录</span>
            </a>

        </div>


        <div class="block-tab-wrap">
            <iframe src="/plugins/supplier_check/pc/checkorder/my_check" style="border:0;overflow: auto;width: 100%;" name="frm1"></iframe>
        </div>

        <div class="block-tab-wrap">
            <iframe src="" style="border:0;overflow: auto;width: 100%;" name="frm2"></iframe>
        </div>


    </div>

</div>
<?php echo Common::js("v1/jquery.min.js,v1/admin.js")?>
<script src="{$GLOBALS['cfg_res_url']}/js/v1/layer/layer.js"></script>
<script src="{$GLOBALS['cfg_res_url']}/js/v1/laypage/laypage.js"></script>
<script>

    $(function(){

        function sizeHeight(){
            var pmHeight = $(window).height();
            var contentHeight=pmHeight-10;
            $("iframe").height(contentHeight);
        }

        //高度改变
        $(window).resize(function(){
            sizeHeight()
        })
        sizeHeight();



        //切换
        $('#tab_product_block').Huitab({
            tabBar:'.block-tab-bar span',
            tabCon:".block-tab-wrap",
            className:"on"
        });

    })

</script>

</body>
</html>